package com.ss.android.wenda.answer.detail2;

import android.view.View;
import com.ss.android.article.base.feature.model.Article;
import com.ss.android.model.AbsArticle;

final class j implements View.OnClickListener {
    private final NewAnswerDetailActivity a;

    j(NewAnswerDetailActivity arg1) {
        this.a = arg1;

    }

    public final void onClick(View arg10) {
        Article v1;
        String v2;
        NewAnswerDetailActivity v8 = this.a;
        Article v0 = v8.h;
        if((v8.c) || v0 != null) {
            v8.n.showLoadingView();
            if(v0 != null) {
                v2 = v0.getItemKey();
                v1 = v0;
            }
            else {
                String v7 = Article.a(v8.e, v8.f);
                v1 = new Article(v8.e, v8.f, v8.g);
                v2 = v7;
            }

            v8.b.a(v2, v0, ((AbsArticle)v1));
        }
    }
}

